package cn.jeeweb.web.modules.sys.entity;

import java.util.Date;

import cn.jeeweb.common.annotate.UiPropertyField;
import cn.jeeweb.common.flag.ObjectMark;
import cn.xjzn.framework_Core.ModuleServe;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;

import cn.jeeweb.common.mybatis.mvc.entity.TreeEntity;

/**
 * @Title:
 * @Description:
 */
@TableName("sys_organization")
@SuppressWarnings("serial")
public class Organization extends TreeEntity<Organization> implements ObjectMark {
	@TableField(value = "create_by", fill = FieldFill.INSERT)
	protected String createBy; // 创建者
	@TableField(value = "create_date", fill = FieldFill.INSERT)
	protected Date createDate; // 创建日期
	@TableField(value = "update_by", fill = FieldFill.UPDATE)
	protected String updateBy; // 更新者
	@TableField(value = "update_date", fill = FieldFill.UPDATE)
	protected Date updateDate; // 更新日期
	@TableField(value = "del_flag", fill = FieldFill.INSERT)
	protected String delFlag = "0"; // 删除标记（0：正常；1：删除 ）
	@TableField(value = "code")
	@UiPropertyField(moduleId = ModuleServe.organizationModule,propertyName = "code",labelText="机构编码",displayPosition = 2)
	private String code;
	@TableField(value = "full_name")
	@UiPropertyField(moduleId = ModuleServe.organizationModule,propertyName = "fullName",labelText="全称",displayPosition = 3)
	private String fullName;
	@TableField(value = "organization_type")
	@UiPropertyField(moduleId = ModuleServe.organizationModule,propertyName = "organizationType",labelText="机构类型",displayPosition = 4)
	private String organizationType;
	@TableField(value = "sort")
	@UiPropertyField(moduleId = ModuleServe.organizationModule,propertyName = "sort",labelText="排序",displayPosition = 5)
	private Integer sort;
	@TableField(value = "status")
	@UiPropertyField(moduleId = ModuleServe.organizationModule,propertyName = "status",labelText="状态",displayPosition = 6)
	private String status;
	@TableField(value = "is_sys")
	@UiPropertyField(moduleId = ModuleServe.organizationModule,propertyName = "isSys",labelText="是否系统控制",displayPosition = 7)
	private String isSys;

	/** 备注 */
	@TableField(value = "remarks")
	@UiPropertyField(moduleId = ModuleServe.organizationModule,propertyName = "remarks",labelText="备注",displayPosition = 8)
	private String remarks;

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getIsSys() {
		return isSys;
	}

	public void setIsSys(String isSys) {
		this.isSys = isSys;
	}

	public String getOrganizationType() {
		return organizationType;
	}

	public void setOrganizationType(String organizationType) {
		this.organizationType = organizationType;
	}
}
